<?php
namespace app\api\model;


class VideoCenter extends BaseModel
{
	protected $hidden = ['status', 'create_time', 'update_time'];

	public function getUrlAttr($value,$data){
		return $this->prefixImgUrl($value,$data);
	}


	public static function getVideoInfo()
	{
		$info = self::where('status', '=', 1)->select();

		return $info;
	}
}